import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {AdOssUploadService} from '../../lib/service/ad-oss-upload.service';
import {NotificationModule} from '../../comm-components/notification/notification.module';
import { CDSModule } from '../../comm-components/directives/validator.module';
import {FormsModule} from '@angular/forms';

import { ConfigListComponent } from './config-list/config-list.component';
import {routing} from './home-config.routing';
import { ConfigDetailComponent } from './config-list/config-detail/config-detail.component';
import { AddConfigComponent } from './config-list/add-config/add-config.component';
import { ConfigEditComponent } from './config-list/config-edit/config-edit.component';
import {HomeConfigService} from '../../lib/service/admin/home-config.service';
import {Ng2BootstrapModule, PaginationModule} from 'ngx-bootstrap';

@NgModule({
  imports: [
    CommonModule,
    CDSModule,
    routing,
    PaginationModule,
    Ng2BootstrapModule,
    NotificationModule,
    FormsModule
  ],
  declarations: [
    ConfigListComponent,
    ConfigDetailComponent,
    AddConfigComponent,
    ConfigEditComponent
  ],
  providers: [
    HomeConfigService,
    AdOssUploadService
  ]
})
export class HomeConfigModule { }
